package com.smartao.base.selectitem;

import java.util.List;

import com.smartao.core.dao.BaseDao;

public interface SelectitemDao extends BaseDao<Selectitem, Long>{
	Selectitem findByCode(String code);

	List<Selectitem> findBySelecttype(Long selecttypeId);

	List<Selectitem> findBySelecttypeCode(String code);

	void deleteByselecttypeId(Long selecttypeId);
	
	Long countBySelecttype(Long selecttypeId);

	List<Selectitem> findByParent(Long parentSelectitemId);
}
